package com.swotxu.mall.cart;

import com.swotxu.common.conf.anno.EnableMallRedisHttpSession;
import com.swotxu.common.conf.anno.EnableMallThreadPoolExecutor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients
@EnableDiscoveryClient
@EnableMallRedisHttpSession // 使用自定义注解整合 RedisSession
@EnableMallThreadPoolExecutor // 使用自定义注解整合 ThreadPool
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class MallCartApplication {

    public static void main(String[] args) {
        SpringApplication.run(MallCartApplication.class, args);
    }

}
